package com.ruoyi.production.domain.pesticide;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 农药量对象 pesticide_amount
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public class PesticideAmount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long pesticideAmountId;

    /** 农药类型 */
    @Excel(name = "农药类型编号")
    private Long pesticideTypeId;

    public String getPesticideType() {
        return pesticideType;
    }

    public void setPesticideType(String pesticideType) {
        this.pesticideType = pesticideType;
    }

    public String getPesticideName() {
        return pesticideName;
    }

    public void setPesticideName(String pesticideName) {
        this.pesticideName = pesticideName;
    }

    /** 农药类型 */
    @Excel(name = "农药类型名称")
    private String pesticideType;

    /** 农药名称 */
    @Excel(name = "农药名称编号")
    private Long pesticideNameId;

    /** 农药名称 */
    @Excel(name = "农药名称")
    private String pesticideName;


    /** 有效含量 */
    @Excel(name = "有效含量")
    private String content;

    /** 购自公司 */
    @Excel(name = "购自公司")
    private String originCompany;

    /** 库存量 */
    @Excel(name = "库存量")
    private Double storageAmount;

    public void setPesticideAmountId(Long pesticideAmountId)
    {
        this.pesticideAmountId = pesticideAmountId;
    }

    public Long getPesticideAmountId()
    {
        return pesticideAmountId;
    }
    public void setPesticideTypeId(Long pesticideTypeId)
    {
        this.pesticideTypeId = pesticideTypeId;
    }

    public Long getPesticideTypeId()
    {
        return pesticideTypeId;
    }
    public void setPesticideNameId(Long pesticideNameId)
    {
        this.pesticideNameId = pesticideNameId;
    }

    public Long getPesticideNameId()
    {
        return pesticideNameId;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setOriginCompany(String originCompany)
    {
        this.originCompany = originCompany;
    }

    public String getOriginCompany()
    {
        return originCompany;
    }
    public void setStorageAmount(Double storageAmount)
    {
        this.storageAmount = storageAmount;
    }

    public Double getStorageAmount()
    {
        return storageAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pesticideAmountId", getPesticideAmountId())
            .append("pesticideTypeId", getPesticideTypeId())
            .append("pesticideNameId", getPesticideNameId())
            .append("content", getContent())
            .append("originCompany", getOriginCompany())
            .append("storageAmount", getStorageAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
